import { useHistory } from 'umi';
const history = useHistory();

export const goPage = (url: string) => {
  history.push(url);
};
